SG Window | |
Globals Object |
Reference Properties Methods Events Constants Errors How To... |
ProgID | SGWindow.Globals |
CLSID | BB0FDE70-26EF-11d2-8E49-008048E27A77 |
Globals object is a collection of usefull properties and methods, not necessarily connected with windows API or specific window. Think of it as a library of general routines. Globals object is default SG Window Library object and it's members can be accessed without explicitly created Globals object. For example you can use it like this:
Dim lowWord% lowWord = SGWindow.LowWord(12345678)
Note that in VBScript you must create Globals object before you can use it's members. VBScript version of code snippet should look like this:
Dim g, lowWord Set g = CreateObject("SGWindow.Globals") lowWord = g.LowWord(12345678)
GetFocused
RegisterClass
Sleep
LowWord
HighWord
MakeLong
LowByte
HighByte
MakeWord